﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class UIControler : MonoBehaviour {

	public void SenceJump (string SenceName) {
		print ("Jump!");
		SceneManager.LoadScene (SenceName);
	}
	public void QuitGame () {
		Application.Quit ();
	}

	public void SetLight(GameObject btn){
		btn.GetComponent<Image>().color = Color.white;
	}
	public void SetDim(GameObject btn){
		btn.GetComponent<Image>().color = Color.gray;
	}
}